//
//  Rectangle.h
//  Test1
//
//  Created by Seabook Chen on 19/10/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XYPoint.h"

@interface Rectangle : NSObject {
	int height;
	int width;
	XYPoint * origin;
}

@property int height, width;
@property XYPoint * origin;

-(void) setHeight: (int) _height andWidth: (int) _width;
-(void) setOrigin: (XYPoint *) _origin;

-(int) area;
-(int) perimeter;

@end
